# name : pandas ExcelWriter (write)
# key : ExcelWriter@pandas
# contributor: Shuguang Sun
# --
with pd.ExcelWriter('${1:filename.xlsx}'${2:,
                    date_format = 'YYYY-MM-DD',
                    datetime_format = 'YYYY-MM-DD HH:MM:SS'}) as writer:
    ${3:df1}.to_excel(writer, sheet_name = 'Sheet1')
    ${4:df2}.to_excel(writer, sheet_name = 'Sheet2')